package com.iris.live.services.models;

import java.util.List;

/**
 * Created by sxy on 2016/7/28.
 */
public class PageData<T> {

    private int total;
    private List<T> data;

    public PageData(List<T> data, int total) {
        this.total = total;
        this.data = data;
    }

    public PageData() {
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
